
#include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )


########### next target ###############

set(body_STAT_SRCS
    bodypart.cpp
    #bodypart_soft.cpp
    #bodypart_soft_torus.cpp
    bodypart_rigid.cpp
    bodypart_rigid_box.cpp
    #bodypart_rigid_sphere.cpp
    #bodypart_rigid_cylinder.cpp
    bodypart_rigid_trianglemesh.cpp
    body.cpp
    constraint.cpp)

add_library(body STATIC ${body_STAT_SRCS})


########### install files ###############




#original Makefile.am contents follow:

#INCLUDES = $(all_includes) -I../../../../utils/bullet -fopenmp
#METASOURCES = AUTO
#noinst_LTLIBRARIES = libbody.la
#noinst_HEADERS =		bodypart.h \
#				bodypart_soft.h \
#				torusmesh.h \
#				bodypart_soft_torus.h \
#				bodypart_rigid.h \
#				bodypart_rigid_box.h \
#				bodypart_rigid_sphere.h \
#				bodypart_rigid_cylinder.h \
#				bodypart_rigid_trianglemesh.h \
#				body.h \
#				constraint.h
#
#libbody_la_SOURCES =		bodypart.cpp \
#				bodypart_soft.cpp \
#				bodypart_soft_torus.cpp \
#				bodypart_rigid.cpp \
#				bodypart_rigid_box.cpp \
#				bodypart_rigid_sphere.cpp \
#				bodypart_rigid_cylinder.cpp \
#				bodypart_rigid_trianglemesh.cpp \
#				body.cpp \
#				constraint.cpp
#
## libbody_la_LIBADD =	$(top_builddir)/src/gui/libgui.la \
## 				$(top_builddir)/src/utils/libutils.la \
## 				$(top_builddir)/src/math/libmath.la
